home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 5-Fonts & Software / Applications / Aldus PageMaker 3.02 / APDs / LaserWriter V23.apd < prev    next >
Text File  |  1988-11-19  |  7KB  |  186 lines

  1. @Comment: "LaserWriter V23.apd" for Apple LaserWriter with version 23 ROMs.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   3.3  $
  4. @Comment:     $Date:   09 Jun 1988 15:59:20  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter)"
  10. @PSVersion: "(23.0)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @FreeVM: "170000"
  20. @WorkingMem: "25000"
  21. @AldusHeaderMem: "34000"
  22. @Comment: Example of declaration of a downloadable font's memory requirement:
  23. @Comment: @FontMem "Benjo-Light": "82600"
  24.  
  25. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  26. @PatchFile: "statusdict begin userdict begin /a4f {
  27. 0 setblink
  28. statusdict /jobstate (printing) put
  29. margins exch 141 add exch 256 add 8 div round cvi frametoroket
  30. statusdict /jobstate (busy) put
  31. 1 setblink
  32. } bind def end end
  33. "
  34. @End
  35. @AldusPatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  36.  
  37. @ExitServer: "serverdict begin exitserver "
  38. @Password: "0"
  39.  
  40. @DefaultScreenFreq: "60"
  41. @DefaultScreenAngle: "45"
  42. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  43.  
  44. @ScreenFreq: ""
  45. @ScreenAngle: ""
  46. @ScreenProc: ""
  47. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  48. @Transfer: ""
  49. @InvertTransfer: "{1 exch sub}"
  50. @NormalizedTransfer: ""
  51. @End
  52. @InvertNormalizedTransfer: ""
  53. @End
  54.  
  55. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  56. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  57. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  58. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  59. @?OutputOrder: "/pagestackorder where{pagestackorder {(facedown)}{(faceup)}
  60.  ifelse}{(faceup)}ifelse = flush"
  61. @Comment: Paper tray query compares returned value with selected PageSize,
  62. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  63. @?PaperTray: "mark () statusdict /printerstatus known {
  64. userdict /T statusdict /printerstatus get exec 16#07E and put 
  65.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  66.  = flush cleartomark"
  67. @End
  68.  
  69. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  70. @DefaultPageSize:        "Letter"
  71. @PageSize Letter:        "letter"
  72. @PageSize Lettersmall:    "note"
  73. @PageSize A4:            "/a4f where { pop
  74. statusdict begin userdict begin /a4 {
  75. [300 72 div 0  0 -300 72 div  -72 3448]
  76. 292 3365
  77. {a4f} framedevice
  78. 60 45 {dup mul exch dup mul add 1.0 exch sub} setscreen
  79. {} settransfer
  80. initgraphics erasepage
  81. } bind def end end
  82. a4} if"
  83. @End
  84. @PageSize Legal:         "legal"
  85.  
  86. @Comment: PageRegion gives the printable area of each paper option.
  87. @PageRegion Letter:         "18 7.92 591 784"
  88. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  89. @PageRegion A4:             "18.0 20 571 827"
  90. @PageRegion Legal:             "64.08 37 547.92 971"
  91.  
  92. @Comment: PaperDimension gives the total paper size of each option.
  93. @PaperDimension Letter:         "612 792"
  94. @PaperDimension Lettersmall:     "612 792"
  95. @PaperDimension A4:             "595.28 841.89"
  96. @PaperDimension Legal:             "612 1008"
  97.  
  98. @DefaultOutputOrder: "faceup"
  99.  
  100. @ManualFeed true: "statusdict begin /manualfeed true def end"
  101. @ManualFeed false: "statusdict begin /manualfeed false def end"
  102.  
  103. @DefaultFont: "Courier"
  104. @Font "Times-Roman": "Standard" "(001.000)"
  105. @Font "Times-Bold": "Standard" "(001.000)"
  106. @Font "Times-Italic": "Standard" "(001.000)"
  107. @Font "Times-BoldItalic": "Standard" "(001.000)"
  108. @Font "Helvetica": "Standard" "(001.000)"
  109. @Font "Helvetica-Bold": "Standard" "(001.000)"
  110. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  111. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  112. @Font "Courier": "Standard" "(001.000)"
  113. @Font "Courier-Bold": "Standard" "(001.000)"
  114. @Font "Courier-Oblique": "Standard" "(001.000)"
  115. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  116. @Font "Symbol": "Standard" "(001.000)"
  117.  
  118.  
  119. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  120. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  121.  
  122. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  123.                 : "Printer “^2” needs attention: paper jam."
  124. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  125.                 : "Printer “^2” needs attention: \Reason\."
  126.  
  127. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  128.                 : "Printer “^2” needs attention: paper jam."
  129. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  130.                 : "Printer “^2” needs attention: \Reason\."
  131.  
  132. @ParameterReason    "no paper tray" :         "no paper tray"
  133. @ParameterReason    "out of paper" :         "out of paper"
  134. @ParameterReason    "cover open" :             "cover open"
  135. @ParameterReason    "warming up" :             "warming up"
  136. @ParameterReason    "service call" :         "service call"
  137. @ParameterReason    "resetting printer" :     "resetting printer"
  138. @ParameterReason    "cover open" :             "cover open"
  139. @ParameterReason    "timeout, clearing printer" : "timeout"
  140. @ParameterReason    "timeout" :             "timeout"
  141. @ParameterReason    "manual feed timeout" : "manual feed timeout"
  142. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  143.  
  144.  
  145. @Comment: PrinterMessage displays the translation string in the status line.
  146. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  147.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  148. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  149.                 : "Document: \jobname\;  status: \Status\."
  150. @PrinterMessage     "status: \Status\; source: \source\"
  151.                 : "Status: \Status\."
  152. @PrinterMessage     "\Font1\ not found, using \Font2\"
  153.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  154.  
  155. @ParameterStatus     "idle"    : "idle"
  156. @ParameterStatus     "busy"    : "processing job"
  157. @ParameterStatus     "waiting"    : "preparing data"
  158. @ParameterStatus    "printing"    : "printing"
  159.  
  160. @Comment: a null translation string causes no message to display.
  161. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  162.                 : ""
  163. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  164.                 : ""
  165.  
  166. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  167. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  168. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  169.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  170.  
  171. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  172. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  173.                 : "The font being downloaded has not been initialized for this printer."
  174. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  175.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  176. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  177.                 : "The printer had to wait too long, and went on to the next job; try again."
  178. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  179.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  180. @PrinterErrorAlert    "Fatal system error \error\"
  181.                 : "The printer has encountered an error. Simplify your document or try again."
  182.  
  183.  
  184.  
  185.  
  186.